<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<body>
<style>
    *{
        font-size:12px;
    }
    .redpoint{
        height:19px;
        width:19px;
        border-radius:50px;
        display:inline-block;
        text-align:center;
        font-size:5px;
        color:#fff;
        background:red;
        position: relative;
        top: -52px;
        right: 20px;
        line-height: 19px;
    }
</style>
<script src="/js/jquery/jquery-1.4.2.min_wev8.js"></script>
<script>
    jQuery(function () {
        /*待办事宜条数*/
        jQuery.get("/workflow/search/wfTabFrameCount.jsp",function (data) {
            var temp = data.flowAll;
            if(temp>99){
                jQuery("#daiban").html("99+");
            }else{
                jQuery("#daiban").html(data.flowAll);
            }


        },"json");

        /*公文条数*/
        jQuery.get("/ext/view.jsp?ebaseid=6&eid=95&styleid=1442224702199&hpid=41&subCompanyId=41",function (html) {
           var temp = jQuery.trim(html);
            if(temp>99){
                jQuery("#gongwen").html("99+");
            }else{
                jQuery("#gongwen").html(temp);
            }

        },"text");

        /*明源ERP条数*/
        jQuery.get("/ext/getMyTodo.jsp",function (html) {
           var temp = jQuery.trim(html);
            if(temp>99){
                jQuery("#mingyuan").html("99+");
            }else{
                jQuery("#mingyuan").html(temp);
            }

        },"text");
    });
</script>
<a style="text-decoration:none" target="_blank" href="/workflow/search/wfTabFrame.jsp?offical=&officalType=-1&method=all&viewScope=doing&complete=0&wftypes=">
    <span>
        <img src="daiban.jpg"/>
    </span>
    <span class="redpoint" id="daiban">
            99+
    </span>
    <span style="position: absolute;left: 17px;top: 80px;">OA待办</span>
</a>

<span>
    <img src="gongwen.jpg"/>
</span>
<span class="redpoint" id="gongwen">
    99+
</span>
<span style=" position: absolute ;left: 105px;top:80px;">未读公文</span>

<span>
    <img src="mingyuan.png"/>
</span>
<span class="redpoint" id="mingyuan" name="mingyuan">
    99+
</span>
<span style=" position: absolute ;left: 200px;top:80px;">明源待办</span>

<span>
    <img src="youjian.png"/>
</span>
<span class="redpoint" id="daiban">
    99+
</span>
<span style=" position: absolute ;left: 295px;top:80px;">未读邮件</span>

</body>
</html>

<%--<h3>正在开发....</h3>--%>